package com.gmrz.uaf.db.dao;

import com.gmrz.uaf.common.AAIDJson;
import com.gmrz.uaf.common.PoliceJson;
import com.gmrz.uaf.db.DAOException;

import java.util.HashMap;
import java.util.List;
import java.util.Properties;

/**
 * Created by yangairong on 16/8/29.
 */
public interface UasConfigDAO {
    Properties loadUasConfig() throws DAOException;

    String loadFacets(String tenantid) throws DAOException;

    List loadfacetsServlet(String tenantid) throws DAOException;

    HashMap<String,String> loadFacetsTenantID() throws DAOException;

    HashMap<String,PoliceJson> LoadPolicyJson() throws DAOException;

    List<List<AAIDJson>> LoadAAIDJson(String id) throws DAOException;

    String getConfigByTenantId(String key,String tenantId) throws DAOException;

    String getdictTypeByDictName(String dictName);

    public List<String> getUserConfig(String dtId) throws DAOException;

    List<String> getShareAppID(String applicationID,String transType) throws DAOException;

    String getConfigByKey(String key) throws DAOException ;

    List<String> getTenantids() throws DAOException;

    String getConfigByTenantIdAndTransType(String key, String tenantId, String transType)throws DAOException;

    String getDictConfig(String key) throws DAOException;

    String getPolicyConfig(String appID, String authType, String transType, String key) throws DAOException;
}
